<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.qijia.travel.app.*"  %>
<%@ page import="com.qijia.travel.domain.*"  %>
<%@ page import="com.qijia.travel.common.*"  %>
<%@ page import="com.qijia.travel.helper.*"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

GuideManager manager = new GuideManager();
Guide guide = (Guide)session.getAttribute(Constants.USER_KEY);
GuideAccount account = manager.getAccountInfo(guide.getGuideId());
if(null==account)out.println("<script>alert('你不存在登录账号，请联系管理员为你创建一个登录账号!!');window.location='"+basePath+"';</script>");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<title>后台管理平台--旅游网</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/layout.css" />
<!--星星评分CSS/JS开始-->
<script language="javascript" type="text/javascript" src="<%=basePath%>StarRating/jquery.js"></script>
<script language="javascript" type="text/javascript" src="<%=basePath%>StarRating/documentation.js"></script>
<script language="javascript" type="text/javascript" src="<%=basePath%>StarRating/jquery.MetaData.js"></script>
<script language="javascript" type="text/javascript" src="<%=basePath%>StarRating/jquery.rating.js"></script>
<link type="text/css" href="<%=basePath%>StarRating/jquery.rating.css" rel="stylesheet"/>
<!--星星评分CSS/JS结束-->

<!--右下角弹出窗口JS开始-->
<!-- <script language="javascript" type="text/javascript" src="js/floatad-winpop.js"></script> -->
<!--右下角弹出窗口JS结束-->
</head>

<body>
<div id="wrapper">
    <!--头部菜单开始-->
    <jsp:include page="../common/TopMenu.jsp"></jsp:include>
    <!--头部菜单结束-->
	<div id="REC_main">
	    <div id="MainBox">
		    <!--左侧Box开始-->
		    <div id="LeftBox">
			    <!--白底信息区开始-->
			    <!-- start round corner -->
			    <div class="rcorner_lt"></div><div class="rcorner_rt"></div><div class="clearAll"></div>
			    <!-- end round corner -->
				<div class="mainContent">
				    <div class="welcomCon">您好，<%=guide.getGuideName()%>！&nbsp;&nbsp;<span class="ComId">您上次的登录时间是:<%=guide.getLoginDate()==null?"":DateHelper.parseToString(guide.getLoginDate(),DateHelper.yyyyMMddHHmm)%></span>&nbsp;&nbsp;<a href="<%=basePath%>baseInfo/doLogout.jsp">安全退出</a></div>
				    <div class="clearAll"></div>
					<!--分类管理开始-->
					<div class="GreyBox">
                        <div class="PositionUpdate">
                            <div class="EP_title">基本资料管理</div>
                            <div class="EP_list"><a href="<%=basePath%>baseInfo/statusManage.jsp">状态信息管理</a> | <a href="<%=basePath%>baseInfo/treamManage.jsp">团队信息管理</a> | <a href="<%=basePath%>baseInfo/groupManage.jsp">旅行社信息管理</a></div>
                        </div>
                        <div class="VancancyList">
                            <div class="EP_title">排团管理</div>
                            <div class="EP_list"><a href="<%=basePath%>baseInfo/guideManage.jsp">导游状态管理</a> | <a href="<%=basePath%>work/tourist.jsp">排团管理</a> | <a href="<%=basePath%>work/consumption.jsp">团消费管理</a></div>
                        </div>
                        <div class="Statistic">
                            <div class="EP_title">财务统计管理</div>
                            <div class="EP_list"><a href="<%=basePath%>work/expenditure.jsp">公司收支管理</a> | <a href="<%=basePath%>work/statistics.jsp">组员效益信息</a></div>
                        </div>
                        <div class="ControlPanel ">
                            <div class="EP_title">个人资料管理</div>
                            <div class="EP_list">
                                <div><a href="<%=basePath%>baseInfo/ModifyInfo.jsp">修改个人信息</a> | <a href="<%=basePath%>baseInfo/ModifyPwd.jsp">修改密码</a></div>
                            </div>
                        </div>
					</div>
					<!--分类管理结束-->
				</div>
				<!-- start round corner -->
				<div class="rcorner_lb"></div><div class="rcorner_rb"></div><div class="clearAll"></div>
				<!-- end round corner -->
				<!--白底信息区结束-->
			</div>
			<!--左侧Box结束-->
			<!--右侧Box开始-->
			<div id="RightBox">
			    <div class="msgZone">
					<!-- start round corner -->
					<div class="rcorner_lt"></div><div class="rcorner_rt"></div><div class="clearAll"></div>
					<!-- end round corner -->
					<div class="mainContent">
						<div class="rightbox_title">公告</div>
						<div class="rightbox_content">&nbsp;&nbsp;&nbsp;旅游同盟网已初步上线测试，如出现问题请联系我们，谢谢!<br /></div>
					</div>
					<!-- start round corner -->
					<div class="rcorner_lb"></div><div class="rcorner_rb"></div><div class="clearAll"></div>
					<!-- end round corner -->
                </div>
				<div class="msgZone">
					<!-- start round corner -->
					<div class="rcorner_lt"></div><div class="rcorner_rt"></div><div class="clearAll"></div>
					<!-- end round corner -->
					<div class="mainContent">
						<div class="rightbox_title">服务热线</div>
						<div class="rightbox_content">&nbsp;&nbsp;&nbsp;彪<br />&nbsp;&nbsp;&nbsp;手机：13637645909<br />&nbsp;&nbsp;&nbsp;电话：0898-28278999<br />&nbsp;&nbsp;&nbsp;邮箱：380619493@qq.com<br /></div>
					</div>
					<!-- start round corner -->
					<div class="rcorner_lb"></div><div class="rcorner_rb"></div><div class="clearAll"></div>
					<!-- end round corner -->
                </div>
			</div>
			<!--右侧Box结束-->
		</div>
	</div>
	<jsp:include page="../common/Foot.jsp"></jsp:include>
</div>
</body>
</html>
